<?php

class organizationModel extends model
{

    public function getunit($pager){
        $unit = $this->dao->select('*')->from(TABLE_UNIT)->page($pager)->fetchAll();
        return $unit;
    }

    public function getuser($pager){
        $user = $this->dao->select('*')->from(TABLE_USERS)->page($pager)->fetchAll();
        return $user;
    }

}